package com.indusfo.spc.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.indusfo.spc.common.pojo.BasePojo;

import java.util.Date;

public class InspectWorkDetail extends BasePojo {
    // 点检作业明细ID
    private Integer inspectWorkDetailId;
    // 点检作业ID
    private Integer inspectWorkId;
    // 点检项目ID
    private Integer inspectId;
    // 合格
    private Integer qualified;
    // 创建时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;
    // 修改时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date modifyDate;
    // 备注
    private String remark;
    // 数据状态
    private Integer dataState;



    // 合格(翻译)
    private String qualifiedName;
    // 点检项目编号
    private String inspectCode;
    // 点检项目名称
    private String inspectName;
    // 点检项目名称
    private String inspectRequire;

    public String getQualifiedName() {
        return qualifiedName;
    }

    public void setQualifiedName(String qualifiedName) {
        this.qualifiedName = qualifiedName;
    }

    public Integer getInspectWorkDetailId() {
        return inspectWorkDetailId;
    }

    public void setInspectWorkDetailId(Integer inspectWorkDetailId) {
        this.inspectWorkDetailId = inspectWorkDetailId;
    }

    public Integer getInspectWorkId() {
        return inspectWorkId;
    }

    public void setInspectWorkId(Integer inspectWorkId) {
        this.inspectWorkId = inspectWorkId;
    }

    public Integer getInspectId() {
        return inspectId;
    }

    public void setInspectId(Integer inspectId) {
        this.inspectId = inspectId;
    }

    public Integer getQualified() {
        return qualified;
    }

    public void setQualified(Integer qualified) {
        this.qualified = qualified;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(Date modifyDate) {
        this.modifyDate = modifyDate;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim().replace(" ","");
    }

    public Integer getDataState() {
        return dataState;
    }

    public void setDataState(Integer dataState) {
        this.dataState = dataState;
    }

    public String getInspectCode() {
        return inspectCode;
    }

    public void setInspectCode(String inspectCode) {
        this.inspectCode = inspectCode;
    }

    public String getInspectName() {
        return inspectName;
    }

    public void setInspectName(String inspectName) {
        this.inspectName = inspectName;
    }

    public String getInspectRequire() {
        return inspectRequire;
    }

    public void setInspectRequire(String inspectRequire) {
        this.inspectRequire = inspectRequire;
    }

    public InspectWorkDetail(Integer inspectWorkDetailId, Integer inspectWorkId, Integer inspectId, Integer qualified) {
        this.inspectWorkDetailId = inspectWorkDetailId;
        this.inspectWorkId = inspectWorkId;
        this.inspectId = inspectId;
        this.qualified = qualified;
    }

    public InspectWorkDetail(Integer inspectWorkId, Integer inspectId, Integer qualified) {
        this.inspectWorkId = inspectWorkId;
        this.inspectId = inspectId;
        this.qualified = qualified;
    }

    public InspectWorkDetail() {
    }
}